package com.net.shop.car.manager.api.model;

import java.lang.ref.WeakReference;

import android.graphics.Bitmap;

/**
 * @author Deve
 *
 */
public class Member extends BaseBean {
	/**
	 * 会员id
	 */
	private String memberId;
	/**
	 * 邮箱
	 */
	private String email;
	/**
	 * qq号
	 */
	private String qq;
	/**
	 * 名称
	 */
	private String name;
	/**
	 * 生日
	 */
	private String birth;
	
	/**
	 * 头像地址
	 */
	private String picUrl;
	
	/**
	 * 范围id
	 */
	private String area;
	/**
	 * 范围名称
	 */
	private String areaName;
	/**
	 * 具体地点
	 */
	private String address;
	/**
	 * 电话
	 */
	private String mobile;
	
	/**
	 * vb
	 */
	private long vb;
//	/**
//	 * 拥有的车辆
//	 */
//	private List<Car> ownsCars;
	
	/**
	 * 
	 */
	private WeakReference<Bitmap> headIcon;

	/**
	 * @return the memberId
	 */
	public String getMemberId() {
		return memberId;
	}

	/**
	 * @param memberId the memberId to set
	 */
	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}

	/**
	 * @return the email
	 */
	public String getEmail() {
		return email;
	}

	/**
	 * @param email the email to set
	 */
	public void setEmail(String email) {
		this.email = email;
	}

	/**
	 * @return the qq
	 */
	public String getQq() {
		return qq;
	}

	/**
	 * @param qq the qq to set
	 */
	public void setQq(String qq) {
		this.qq = qq;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the birth
	 */
	public String getBirth() {
		return birth;
	}

	/**
	 * @param birth the birth to set
	 */
	public void setBirth(String birth) {
		this.birth = birth;
	}

	/**
	 * @return the area
	 */
	public String getArea() {
		return area;
	}

	/**
	 * @param area the area to set
	 */
	public void setArea(String area) {
		this.area = area;
	}

	/**
	 * @return the picUrl
	 */
	public String getPicUrl() {
		return picUrl;
	}

	/**
	 * @param picUrl the picUrl to set
	 */
	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl;
	}

	/**
	 * @return the headIcon
	 */
	public Bitmap getHeadIcon() {
		return headIcon == null ? null : headIcon.get();
	}

	/**
	 * @param headIcon the headIcon to set
	 */
	public void setHeadIcon(Bitmap headIcon) {
		this.headIcon = new WeakReference<Bitmap>(headIcon);
	}

	/**
	 * @return the areaName
	 */
	public String getAreaName() {
		return areaName;
	}

	/**
	 * @param areaName the areaName to set
	 */
	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}

	/**
	 * @return the address
	 */
	public String getAddress() {
		return address;
	}

	/**
	 * @param address the address to set
	 */
	public void setAddress(String address) {
		this.address = address;
	}

//	/**
//	 * @return the ownsCars
//	 */
//	public List<Car> getOwnsCars() {
//		return ownsCars;
//	}
//
//	/**
//	 * @param ownsCars the ownsCars to set
//	 */
//	public void setOwnsCars(List<Car> ownsCars) {
//		this.ownsCars = ownsCars;
//	}

	/**
	 * @return the mobile
	 */
	public String getMobile() {
		return mobile;
	}

	/**
	 * @param mobile the mobile to set
	 */
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	/**
	 * @return the vb
	 */
	public long getVb() {
		return vb;
	}

	/**
	 * @param vb the vb to set
	 */
	public void setVb(long vb) {
		this.vb = vb;
	}
	
	
}
